Medical device for detecting a ventricular arrhythmia event

ABSTRACT

A medical device and method for detecting a ventricular arrhythmia event is disclosed. The medical device includes input circuitry configured to receive an electrocardiogram (ECG) signal, processing circuitry coupled to the input circuitry and configured to identify at least one fiducial point of a first heartbeat signature and at least fiducial point of a second heartbeat signature of the ECG signal, and feature extraction circuitry coupled to the processing circuitry. The feature extraction circuitry is configured to determine at least one difference between the at least one fiducial point of the first heartbeat signal and the at least one fiducial point of the second heartbeat signal. Machine learning circuitry is coupled to the feature extraction circuitry and is configured to select a ventricular arrhythmia class based on the at least one difference.

RELATED APPLICATIONS

This application claims the benefit of U.S. provisional patent applications No. 62/069,975, filed Oct. 29, 2014, and No. 62/074,409, filed Nov. 3, 2014, the disclosures of which are incorporated herein by reference in their entireties.

FIELD OF THE DISCLOSURE

The present disclosure relates to biomedical devices and methods to detect arrhythmias.

BACKGROUND

Sudden cardiac death (SCD) accounts for approximately 300,000 deaths in the United States per year and in most cases is the final result of ventricular arrhythmias that include ventricular tachycardia (VT) or ventricular fibrillation (VF). Ventricular arrhythmia is a severely abnormal heart rhythm (arrhythmia) that, unless treated immediately, is responsible for 75% to 85% of sudden deaths in persons with heart problems. Most ventricular arrhythmias are caused by coronary heart disease, hypertension, or cardiomyopathy, events that result in immediate death if not accurately diagnosed or treated. VT is a fast rhythm of more than three consecutive beats originating from the ventricles at rate of more than 100 beats per minute. VF is a rhythm characterized by chaotic activity of ventricles and causes immediate cessation of blood circulation and degenerates further into a pulseless or flat electrocardiogram record indicating no cardiac electrical activity.

An implantable cardioverter-defibrillator (ICD) has been considered the best protection against sudden death from ventricular arrhythmias in high risk individuals. However, most sudden deaths occur in individuals who do not have recognized high risk profiles. For long-term monitoring, electrocardiography is the criterion standard for the diagnosis of ventricular arrhythmia. If the clinical situation permits, a twelve lead electrocardiogram (ECG) is obtained and analyzed before conversion of the rhythm to detect any changes in the characteristics of the ECG signal. By extracting information about intervals, amplitude, and waveform morphologies of the different P-QRS-T waves, the onset of the ventricular arrhythmia can be detected. A wide range of algorithms and detection systems based on morphological, spectral, or mathematical parameters extracted from the ECG signal have been developed. Particular methods have shown that a combination of ECG parameters extracted from different algorithms may enhance the performance of the detection. Although these methods have exhibited advantages in the detection of ventricular arrhythmia, there are disadvantages as well. Some methods have proven quite difficult to implement or compute, while others demonstrate low specificity and low discrimination between normal and abnormal conditions. Moreover, most current methods involve a relatively late detection interval, which delays the initiation of life saving measures.

Machine learning techniques such as neural networks and support vector machines (SVM) have been suggested as useful tools to improve the detection efficiency. However, this strategy increases the overall requirements of the detection system if not utilized or employed properly. For example, selected ECG parameters should be relevant and show significant potential in the detection of ventricular arrhythmia. Otherwise, the efficiency of a machine learning task would decrease and degrade overall performance. Thus, what is needed are a high performance yet efficient medical device and method to enable early detection of the onset of ventricular arrhythmia.

SUMMARY

The present disclosure provides a high performance yet efficient medical device and method for early detection of a ventricular arrhythmia event. The medical device includes input circuitry configured to receive an electrocardiogram (ECG) signal, processing circuitry coupled to the input circuitry and configured to identify at least one fiducial point of a first heartbeat signature and at least one fiducial point of a second heartbeat signature of the ECG signal, and feature extraction circuitry coupled to the processing circuitry. The feature extraction circuitry is configured to determine at least one difference between the at least one fiducial point of the first heartbeat signal and the at least one fiducial point of the second heartbeat signal. Machine learning circuitry is coupled to the feature extraction circuitry and is configured to select a ventricular arrhythmia class based on the at least one difference. In at least one exemplary embodiment, the machine learning circuitry includes a decision block that decides whether to output an alarm based upon the ventricular arrhythmia class selected by a classifier block.

Those skilled in the art will appreciate the scope of the disclosure and realize additional aspects thereof after reading the following detailed description in association with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings incorporated in and forming a part of this specification illustrate several aspects of the disclosure, and together with the description serve to explain the principles of the disclosure.

FIG. 1 is a schematic diagram depicting a medical device for detecting a ventricular arrhythmia event of the present disclosure.

FIG. 2 is an ECG strip that depicts results of a formulation of T wave and P wave search windows with respect to a previously calculated RR interval.

FIG. 3 is an ECG strip chart that depicts results of computations of T wave and P wave thresholds based on previously detected T peak, P peak, and R peak values.

FIG. 4 is an ECG strip chart that shows six ECG parameters that are usable with techniques of the present disclosure.

FIG. 5 is an ECG strip chart diagram of a related art ECG processing technique that uses processing windows that each contain only one heartbeat signature.

FIG. 6 is an ECG strip chart diagram of an ECG processing technique using processing windows that each contain two heartbeat signatures in accordance with the present disclosure.

FIG. 7A is a box and whisker diagram depicting RT interval variability between GROUP A normal ECG samples and GROUP B abnormal ECG samples.

FIG. 7B is a box and whisker diagram depicting TR interval variability between GROUP A normal ECG samples and GROUP B abnormal ECG samples.

FIG. 7C is a box and whisker diagram depicting PQ interval variability between GROUP A normal ECG samples and GROUP B abnormal ECG samples.

FIG. 7D is a box and whisker diagram depicting QP interval variability between GROUP A normal ECG samples and GROUP B abnormal ECG samples.

FIG. 7E is a box and whisker diagram depicting PS interval variability between GROUP A normal ECG samples and GROUP B abnormal ECG samples.

FIG. 7F is a box and whisker diagram depicting SP interval variability between GROUP A normal ECG samples and GROUP B abnormal ECG samples.

FIG. 8 is an ECG strip chart illustrating QRS complex detection and T wave and P Wave delineation.

FIG. 9 is a graph depicting receiver operating characteristics (ROC) curves calculated for ventricular arrhythmia versus non-ventricular arrhythmia conditions.

FIG. 10A is a scatter plot of the SP parameter versus the RT parameter.

FIG. 10B is a scatter plot of the PQ parameter versus the RT parameter.

FIG. 10C is a scatter plot of the PS parameter versus the TR parameter.

FIG. 10D is a scatter plot of the SP parameter versus the TR parameter.

FIG. 10E is a scatter plot of the SP parameter versus the QP parameter.

FIG. 10F is a scatter plot of the PS parameter versus the RT parameter.

FIG. 10G is a scatter plot of the TR parameter versus the RT parameter.

FIG. 10H is a scatter plot of the QP parameter versus the TR parameter.

FIG. 10I is a scatter plot of the PS parameter versus the PQ parameter.

FIG. 10J is a scatter plot of the PS parameter versus the QP parameter.

FIG. 10K is a scatter plot of the QP parameter versus the RT parameter.

FIG. 10L is a scatter plot of the SP parameter versus the TR parameter.

FIG. 10M is a scatter plot of the PQ parameter versus the TR parameter.

FIG. 10N is a scatter plot of the QP parameter versus the PQ parameter.

FIG. 10O is a scatter plot of the SP parameter versus the PS parameter.

DETAILED DESCRIPTION

The embodiments set forth below represent the necessary information to enable those skilled in the art to practice the disclosure and illustrate the best mode of practicing the disclosure. Upon reading the following description in light of the accompanying drawings, those skilled in the art will understand the concepts of the disclosure and will recognize applications of these concepts not particularly addressed herein. It should be understood that these concepts and applications fall within the scope of the disclosure and the accompanying claims.

It will be understood that when an element such as a layer, region, or substrate is referred to as being “over,” “on,” “in,” or extending “onto” another element, it can be directly over, directly on, directly in, or extend directly onto the other element or intervening elements may also be present. In contrast, when an element is referred to as being “directly over,” “directly on,” “directly in,” or extending “directly onto” another element, there are no intervening elements present. It will also be understood that when an element is referred to as being “connected” or “coupled” to another element, it can be directly connected or coupled to the other element or intervening elements may be present. In contrast, when an element is referred to as being “directly connected” or “directly coupled” to another element, there are no intervening elements present.

Relative terms such as “below” or “above” or “upper” or “lower” or “horizontal” or “vertical” may be used herein to describe a relationship of one element, layer, or region to another element, layer, or region as illustrated in the Figures. It will be understood that these terms and those discussed above are intended to encompass different orientations of the device in addition to the orientation depicted in the Figures.

SECTION 1. INTRODUCTION

The present disclosure provides a high-performance yet efficient method for early detection of the onset of ventricular arrhythmia by combining six electrocardiogram (ECG) parameters. The six ECG parameters include PQ interval variability, QP interval variability, RT interval variability, TR interval variability, PS interval variability, and SP interval variability. No combination of these parameters has previously been used for detecting ventricular arrhythmia. However, the present disclosure demonstrates that the above six parameters are the most significant set of parameters for the detection of ventricular tachycardia and ventricular fibrillation (VT/VF) events.

FIG. 1 is a schematic diagram depicting a medical device 10 of the present disclosure for detecting a ventricular arrhythmia event. In particular, the medical device 10 is a fully integrated ECG signal processing system suitable for real-time and efficient applications requiring detection of a ventricular arrhythmia event. Medical device 10 comprises input circuitry 12 that is configured to receive an ECG signal. Processing circuitry 14 is coupled to the input circuitry 12 and is configured to identify at least one fiducial point of a first heartbeat signature and the at least one fiducial point of a second heartbeat signature, wherein each of the at least one fiducial point is associated with at least one of the six ECG parameters. However, it is to be understood that the each of the at least one fiducial point is not limited to just the six ECG parameters listed above. Other ECG parameters such as upper and lower envelope variations are also usable.

Feature extraction circuitry 16 is coupled to the processing circuitry 14 and is configured to determine at least one difference between the at least one first fiducial point of the first heartbeat signal and the at least one first fiducial point of the second heartbeat signal. Machine learning circuitry 18 is coupled to the feature extraction circuitry 16 and is configured to select a ventricular arrhythmia class based on the at least one difference.

In more detail, the input circuitry 12 includes a low-pass filter 20 and a high-pass filter 22 that are configured to remove unwanted noise signals coupled within the ECG signal. Once filtered, the ECG signal is received by the processing circuitry 14, which includes a differentiation block 24 that takes a derivative of the filtered ECG signal. A squaring block 26 is configured to square the derivative of the filtered ECG signal before a moving window integral block 28 integrates data samples within the ECG signal that contains at least two QRS complexes, two P waves and two T waves from at least two heartbeat signatures. A QRS complex demarcation block 30 is configured to locate the two or more QRS complexes. An R peak detection block 32 is configured to locate the R peaks within the QRS complexes once the QRS complex demarcation block 30 provides demarcation of the QRS complexes. A Q onset and S offset detection block 34 is configured to search and detect Q onsets and S offsets for each of the QRS complexes demarcated.

An RR demarcation block 36 is configured to determine the interval between two R peaks detected by the R peak detection block 32. Typically, the two R peaks are automatically selected from two consecutive heartbeat signatures. A search window boundaries calculator block 38 is configured to perform calculations to determine search window boundaries that will contain T wave and P wave fiducial points. The calculations performed take into consideration the sampling frequency of the ECG signal. For instance, the search window boundaries may select more sample points for a higher frequency ECG sampling. While FIG. 1 depicts the ECG sampling frequency as being 250 Hz, other sampling frequencies such as 360 Hz are usable with the search window boundaries calculator block 38.

A T and P wave thresholds calculator block 40 is configured to calculate amplitude thresholds for the T waves and the P waves within the window boundaries calculated by the search window boundaries calculator block 38. A T wave delineation block 42 is configured to determine a precise location for each of the T waves using T wave amplitude thresholds received from the T and P wave thresholds calculator block 40. Similarly, a P wave delineation block 44 is configured to determine a precise location for each of the P waves using P wave amplitude thresholds received from the T and P wave thresholds calculator block 40.

A fiducial point extraction block 46 is configured to find fiducial points within the calculated search window boundaries. The fiducial points extracted can be but are not limited to P peak, P offset, Q onset, R peak, S offset, T peak and T offset. Medical device 10 along with the following disclosed techniques take into account different ECG waveform morphologies and utilize adaptive search windows along with thresholds to accurately detect the fiducial points of each heartbeat.

In an exemplary embodiment, the feature extraction circuitry 16 is configured to extract six parameters from search windows placed within the ECG signal. In this exemplary embodiment, the search window size is around five seconds of an ECG signal. Once features are extracted, various other unique combinations of the parameters are constructed and used as input for the machine learning circuitry 18, which includes a classification block 48 that is configured to classify the extracted features and a decision block 50 that is configured to determine if a ventricular arrhythmia event is occurring based upon the classification of the extracted features.

In this regard, linear discriminant analysis (LDA) has been employed by the machine learning circuitry 18 to distinguish healthy individuals from individuals susceptible to ventricular arrhythmia. The use of LDA by the machine learning circuitry introduces a strong potential for detection of ventricular arrhythmia with a P value less than 0.001 when using ECG parameters. Secondly, a strong biasing effect of the classification block 48 is avoided when using ECG parameters combined with the LDA. Thirdly, LDA is the simplest classification algorithm that can be employed using ECG parameters.

Five combinations of the six ECG parameters were evaluated by different K-fold cross validations, which includes fivefold, sevenfold and tenfold cross validations. The five combinations were constructed based upon an output rank of information gained feature selection technique. A best performance was found to be a combination that included all the extracted parameters using tenfold cross validation. Yet, the performance of the other combinations also revealed good results.

Remaining portions of this disclosure are organized as follows. In section II, ECG detection and delineation techniques are highlighted. Section III represents a feature construction stage along with analysis of building different combinations of the six ECG parameters. A classification algorithm implemented by classification block 48 is described in section IV. Performance and results as well as a comparison with other detection methods are reported in section V.

SECTION 2. ECG SIGNAL PROCESSING

In order to detect the QRS complex, the Pan and Thompkins (PAT) algorithm is used. PAT is a commonly used algorithm based upon an amplitude threshold detection technique that exploits the fact that R peaks have higher amplitudes compared to other ECG wave peaks. With proper pre-filtering of an ECG signal, the PAT algorithm is highly efficient at detecting the R peaks in every heartbeat signature using an upper threshold level and lower threshold level.

A novel implementation of a delineation algorithm for the T and P waves is provided in this disclosure. The delineation algorithm is based on adaptive search windows along with adaptive threshold levels to accurately distinguish T and P peaks from noise peaks. In each heartbeat, the QRS complex is used as a reference for the detection of T and P waves in which two regions are demarcated with respect to an interval between QRS complexes and is commonly referred to as the RR interval. These regions are then used to form forward and backward search windows of the T and P waves respectively, as shown in FIG. 2. A forward search window is assumed to contain the T wave and the boundaries are extended from the QRS offset to two thirds of the RR interval.

Positions of T and P peaks are registered by finding either a local maximum or and a local minimum in each of the search windows and then comparing them to the associated thresholds. A threshold for a T wave is given in equation 1, while a threshold for a P wave is given in equation 2.

$\begin{matrix} {T_{{wave}_{th}} = {\frac{T_{peak}}{R_{peak}}t_{{thresh}_{in}}}} & (1) \\ {P_{{wave}_{th}} = {\frac{P_{peak}}{R_{peak}}p_{{thresh}_{in}}}} & (2) \end{matrix}$ Each threshold given in equation 1 and equation 2 is modified in each heartbeat signature based on the most recent detected values during a predetermined time period, such as five seconds. Scaling factors t_(thresh) _(in) and p_(thresh) _(in) are each set within a range of 0.1 to 0.2 based on the most recent detected values in the last processing window. A technique for computing the thresholds is shown in FIG. 3. By comparing the local maximum and/or the local minimum points with the thresholds, the waveform morphology of each wave is identified. For example, the waveform morphology can be, but is not limited to, positive monophasic, negative monophasic, or biphasic morphologies.

The delineation algorithm traces onset and offset values of the P-QRS-T waves by finding a sample corresponding to a zero slope of a sampled ECG signal. A sample point that has a zero slope and is located before the peak is identified as the onset point. Similarly, the offset point is determined at the later side of the peak. At times, however, a derivative sign change occurs, which causes a false indicator. To solve this problem, the delineation algorithm adds additional criteria for a correct delineation of the wave boundaries based upon fiducial points that tend to merge smoothly with an isoelectric line. The isoelectric line is approximated as the average value of the heartbeat signature after removing the QRS complex. The fact that the fiducial points tend to merge smoothly with the isoelectric line is used in combination with location of the zero slope point to accurately and reliably delineate the fiducial points.

SECTION 3. FEATURE CONSTRUCTION

Feature construction begins when the machine learning circuitry 18 compiles data from the ECG raw data signals. A selection of ECG parameters for a machine learning algorithm as implemented by the machine learning circuitry 18 of the present disclosure is an important consideration as selection of ECG parameters determines cost, running time, and overall performance of the medical device 10 that executes the machine learning algorithm by way of the machine learning circuitry 18. Once the machine learning circuitry 18 compiles data from the ECG raw data signals, advanced ECG parameter extraction from the ECG raw data signals can begin. In an exemplary embodiment the ECG data is analyzed and processed in a time window of five seconds to extract a set of six parameters representing two consecutive cardiac states in every window. Moreover, the extracted parameters are normalized to the average maximal QRS deviation over an entire ECG recording and corrected with respect to the RR interval to provide an accurate analysis regardless of the gender or age of the patient whose ECG is recorded. In an exemplary embodiment, the extracted parameters are mathematically independent of each other.

In at least one embodiment, at least 50 parameters have been extracted from an ECG signal based upon morphological, spectral, and mathematical analysis of the ECG signal. Exemplary ones of the 50 parameters are listed in Table I below.

TABLE I EGC Parameters Used With The Exemplary Emibodiments Morphological Spectral Mathematical Parameter Parameter Parameter Intervals Discrete Cosine Transform Hankel Transform Segments Discrete Fourier Transform Abel Transform Amplitudes Laplace Transform Areas Area Asymmetry Interval Asymmetry Upper Envelope Variation Lower Envelope Variation Some of the ECG parameters listed in table 1 have been previously defined in other works and others are new in the detection field. To choose ECG parameters having a maximum discrimination characteristic for detecting a ventricular arrhythmia event, statistical analysis of mean error and standard deviation two-sided unpaired t-test and feature selection by filtering have been performed individually. In particular, the statistical analysis was used to assess separation between normal and abnormal ECG records. In the two-sided unpaired t-test, a P value less than 0.001 in the 95% confidence interval (CI) has been considered as statistically significant. Similarly, an area under a receiver operating characteristics (ROC) curve, (AUC) is selected to be greater than 95% for further analysis. From this further analysis, an ECG parameter in the feature selection analysis has been selected to provide the highest arrhythmia detection accuracy generated from a single ECG parameter. This ECG parameter is combinable with other individual ECG parameters of high relevance to provide preferred combinations of the six ECG parameters for even greater arrhythmia detection accuracy. Section 3.1. ECG Databases

A study conducted in verification of the embodiments of the present disclosure included two groups, GROUP A and GROUP B. GROUP A included ECG records for persons having normal ECGs, while GROUP B included persons susceptible to ventricular arrhythmia. GROUP A included a set of 18 single-lead normal ECG records obtained from the Massachusetts Institute of Technology-Beth Israel Hospital (MIT/BIH) normal sinus rhythm database (NSRDB). The GROUP A ECG records were sampled at 250 Hz and had no significant arrhythmias. In contrast, GROUP B included 20 single-lead abnormal ECG records with significant ventricular arrhythmias. The GROUP B abnormal ECG records were obtained from different sources including American Heart Association (AHA) Database records sampled at 250 Hz, MIT-BIH ECG records sampled at 360 Hz, and Creighton University Database (CUDA) records sampled at 250 Hz. Table II below provides additional details that match a particular database with particular cardiac anomalies.

TABLE II EGC Records from Different Databases Database Quantity Length Arrhythmia Categories NSRDB 18 Records 24-Hours Not Applicable AHA 10 Records  3-Hours Ventricular Tachycardia, Ventricular Flutter Ventricular Fibrillation MIT-BIH  5 Records 30-Minutes Ventricular Tachycardia, Ventricular Flutter CUDA  5 Records  8-Minutes Ventricular Tachycardia, Ventricular Flutter Ventricular Fibrillation Section 3.2 Short-Term ECG Parameters

A learning algorithm is strongly affected by the number and relevance of input variables. As such, analyses performed for this disclosure studied the ECG parameters listed in Table I. Each ECG parameter was examined independently with various discrimination techniques to determine the most analytically useful parameters. A unique set of six morphological ECG parameters were found to be the most indicative characteristics of ventricular arrhythmia episodes. The set of six morphological ECG parameters includes PQ interval variability, QP interval variability, RT interval variability, TR interval variability, PS interval variability, and SP interval variability.

FIG. 4 is an exemplary ECG graphic depicting the set of six morphological ECG parameters. The PQ interval represents the interval from the atrial depolarization to the ventricular depolarization and is measured from the beginning of the P wave to the onset of the QRS complex, while the QP interval is measured from the onset of the QRS complex to the beginning of the P wave of the next cardiac cycle. The RT interval is the duration of the ventricular systole in which the ventricles remain in a depolarized state. The RT interval is measured from the peak of the R wave to the start of the T wave. In contrast, the TR interval defines the ventricular diastole interval, which provides a determination of how long the ventricles refill with blood following contraction.

The TR interval is measured from the start of the T wave of one cardiac cycle to the peak of the R wave of the next cardiac cycle. The time interval between the start of the P wave and the end of the S wave and between the end of the S wave of one cycle and the beginning of the P wave of the next cycle define PS interval and SP interval, respectively.

FIG. 5 is an ECG strip chart diagram of a related art ECG processing technique that uses processing windows that each contain only one heartbeat signature. Unlike other detection algorithms, which depend on the common ECG parameters extracted from a single cardiac cycle as shown in FIG. 5, embodiments of the present disclosure process every two consecutive cycles together and relate pattern changes in the extracted ECG parameters to ventricular arrhythmia as depicted in FIG. 6.

Section 3.3. Statistical Analysis

FIGS. 7A through 7F are box and whisker plots of the set of six ECG parameters comparing GROUP A with GROUP B. Table III below provides tabulated data for the box and whisker plots depicted in FIGS. 7A through 7F.

TABLE III Statistical Analysis of the Set of Six EGC Parameters μ ± α μ ± α Parameter GROUP A GROUP B p-value PQ Interval Variability 0.073 ± 0.0538  0.0222 ± 0.0395 <0.001 QP Interval Variability 0.5311 ± 0.0532    1.18 ± 0.003 <0.001 RT Interval Variability 0.322 ± 0.0067 0.607 ± 1723 <0.001 TR Interval Variability 0.283 ± 0.095  0.596 ± 1742 <0.001 PS Interval Variability 0.21 ± 0.057  0.144 ± 0.071 <0.001 SP Interval Variability 0.396 ± 0.062    1.065 ± 0.0598 <0.001

The statistics listed in Table III illustrate discernable delineations between the set of six ECG parameters for each of GROUP A and GROUP B for a p<0.001. For example, the mean value of the PQ interval variability is slightly greater for GROUP A and GROUP B, and a similar observation is made for the PS interval variability. However, the QP interval variability, the RT interval variability, the TR interval variability, and the SP interval variability have significantly higher delineations between the set of six ECG parameters for GROUP A and GROUP B for a p<0.001. In particular, the mean error in GROUP B is at least twice the mean error of GROUP A.

Section 3.4. Information Gain Attribute Evaluation

Filter-based feature selection (FS) was used to prioritize delineation efficiency of the six ECG parameters. Filter-based FS is independent of the machine learning classifier of the machine learning circuitry 18 (FIG. 1) and uses an attribute evaluator and a ranker to rank all the parameters in the original data set. In this disclosure, an information gain (IG) attribute evaluator was applied.

Entropy, which measures a system's unpredictability, is used as the foundation for the IG attribute evaluator. The entropy of Y, H(Y), is given in equation 3.

$\begin{matrix} {{H(Y)} = {- {\sum\limits_{y \in Y}\;{{p(y)}\mspace{14mu}{\log_{2}\left( {p(y)} \right)}}}}} & (3) \end{matrix}$ where p(y) is the marginal probability density function for the random variable Y. In some cases the observed values of Y in the training data set are partitioned according to the values of the second feature X In this case, the entropy of Y after observing X is given in equation 4.

$\begin{matrix} {{H\left( Y \middle| X \right)} = {- {\sum\limits_{x \in X}\;{{p(x)}{\sum\limits_{y \in Y}\;{{p\left( y \middle| x \right)}\mspace{14mu}{\log_{2}\left( {p\left( y \middle| x \right)} \right)}}}}}}} & (4) \end{matrix}$ where p(y|x) is the conditional probability of y given x. The IG measurement reflects information about Y provided by X and is given by equation 5. IG=H(Y)−H(Y|X)  (5) In this disclosure, Y is the class (GROUP A and GROUP B) and X is the vector containing the six ECG parameters.

SECTION 4. CLASSIFICATION MODEL

Embodiments of this disclosure use linear discriminant analysis (LDA), a technique developed by R. A. Fisher in 1936 to discriminate ventricular arrhythmia versus non-ventricular arrhythmia. In particular, the parameters PQ interval variability, QP interval variability, PS interval variability, SP interval variability, RT interval variability, and TR interval variability are extracted from ECG signals to produce a new data set that is processed using LDA to discriminate ventricular arrhythmia versus non-ventricular arrhythmia. LDA is executed in the classification block 48 (FIG. 1) of the machine learning circuitry 18.

LDA is mathematically robust and produces models with accuracy equivalent to more complex delineation methods when input variables have a strong correlation with the monitored ECG signal. As such, embodiments of the present disclosure use LDA to perform classification.

In an exemplary embodiment, a projection of samples x onto a line y is given by equation 6. y=w ^(T) x  (6)

The goal of implementing LDA is to provide a relatively large separation between the class means, while also keeping the in-class variance relatively small. A mathematical formulation of this goal is realized by maximizing the Fisher criterion J(w), which is given in equation 7.

$\begin{matrix} {{J(w)} = \frac{{\overset{\sim}{\mu_{1}} - \overset{\sim}{\mu_{2}}}}{\overset{\sim}{s_{1}^{2}} + \overset{\sim}{s_{2}^{2}}}} & (7) \end{matrix}$ {tilde over (μ)} is the main vector of each class in the y feature space, given in equation 8.

$\begin{matrix} {\overset{\sim}{\mu} = {{\frac{1}{N_{i}}{\sum\limits_{y \in w_{i}}\; y}} = {\frac{1}{N_{i}}{\sum\limits_{x \in w_{i}}\;{w^{T}x}}}}} & (8) \end{matrix}$ {tilde over (s)}² is the variance, given in equation 9.

$\begin{matrix} {{\overset{\sim}{s}}^{2} = {\sum\limits_{y \in w_{i}}\;\left( {y - \overset{\sim}{\mu_{i}^{2}}} \right)}} & (9) \end{matrix}$

The final Fisher criterion J(w), can be rewritten by defining the between-class variable (S_(B)) and the within-class variable (S_(W)) given in equations 10 and 11, respectively. S _(B)=(μ₁−μ₂)(μ₁−μ₂)^(T)  (10)

$\begin{matrix} {S_{W} = {\sum\limits_{{i = 1},2}\;{\sum\limits_{n = 1}^{N_{i}}\;{\left( {x_{n}^{i} - \mu_{i}} \right)\left( {x_{n}^{i} - \mu_{i}} \right)^{T}}}}} & (11) \end{matrix}$ Thus, the final Fisher Criterion J(w), can be re-written as given in equation 12.

$\begin{matrix} {{J(w)} = \frac{w^{T}S_{B}w}{w^{T}S_{W}w}} & (12) \end{matrix}$ By differentiating J(w), with respect to w, and setting the result to zero, a generalized eigenvalue problem yields equation 13, which specifies a choice of direction for a projection of data down to 1-d. w=S _(W) ⁻¹(μ₁−μ₂)  (13)

An analysis of the classification procedure randomly divided each parameter data set into different training, testing, and validation data sets to determine maximum classification performance. During training and testing, 64% of the parameter data was used for training the classifier, whereas the remaining 36% was split equally into a testing data set and a validation data set. A training and testing procedure was then repeated several times to ensure that results were independent of introduced randomization.

Various combinations of the selected training parameters were fed into the LDA model as input and then the models were evaluated on the corresponding combination test data. Each combination was validated using ten K-fold cross validations on the parameter data set. An average of the K fold cross validations was ultimately used for evaluation.

SECTION 5. PERFORMANCE AND RESULTS

Section 5.1. ECG Signal Detection and Delineation

The performance of the implemented QRS complex demarcation block 30 (FIG. 1) was assessed by evaluating the sensitivity (SE) and precision (P) as shown in equations 14 and 15.

$\begin{matrix} {{SE} = \frac{TP}{{TP} + {FN}}} & (14) \\ {P = \frac{TP}{{TP} + {FP}}} & (15) \end{matrix}$ where TP is a variable representing true detections, FN is a variable representing false negative detections, and FP is a variable representing false positive detections. During testing, the QRS complex demarcation block 30 achieved a sensitivity SE=99.8% and a precision of P=98.6%.

Moreover, the mean error (μ) and the standard deviation (σ) of the fiducial points including the P peak, the P offset, the Q onset, the R peak, the S offset, the T peak, and T offset were calculated between the annotated and automated results, which are listed table IV below.

TABLE IV PERFORMANCE EVALUATION OF THE ECG SIGNAL PROCESSING ALGORITHM Parameter P_(peak) P_(off) Q_(on) R_(peak) S_(off) T_(peak) T_(off) μ (ms) 5.5050 −2.5962 −4.9719 −1.1025 −4.9719 −1.3671 6.3682 σ (ms) 8.6467 7.9140 6.7037 4.5076 6.7037 12.0788 14.6465

FIG. 8 is an annotated ECG chart that is representative of the results of QRS complex detection along with T wave and P wave delineation using the embodiments of the present disclosure. FIG. 8 illustrates that the detection and delinition algorithm has accurately identified all of the fiducial points within a preselected search window that captures every heartbeat signature.

Section 5.2. Performance of Individual Parameters

Table V shows the rank of the six EGC parameter sorted by the IG feature selection. The ranking was used to form the different combinations of the ECG parameters. The performances of the individual ECG parameters based on the LDA, and using training and test data set with a five second sampling window length, is presented in Table VI. Accuracy (ACC) is calculated using equation 16.

$\begin{matrix} {{ACC} = \frac{{TP} + {TN}}{{TP} + {TN} + {FP} + {FN}}} & (16) \end{matrix}$

The individual discrimination ability of each ECG parameter was studied by analyzing ROC curves shown in FIG. 9. The performance of the parameters was assessed by determining the area under the ROC curves (AUC) as shown in FIG. 9. All of the parameters provided good performance having an AUC greater than 99%. Table V below lists the ranking of each of the six ECG parameters. A ranking analysis of the ECG parameters was conducted using filter-based feature selection.

TABLE V RANKING ANALYSIS OF ECG PARAMETERS USING FS BY FILTER Rank Parameters 1 QP interval variability 2 SP interval variability 3 RT interval variability 4 TR interval variability 5 PQ interval variability 6 PS interval variability Section 5.3. Performance of Parameter Combinations

Different unique combinations of the ECG parameters were tested to find out the set with the maximum accuracy. A first combination contained the top two ranked parameters including the QP interval variability and the SP interval variability. Next, for each new combination, a new parameter was added until a final combination included all six ECG parameters. Please see Table VI.

TABLE VI PERFORMANCE OF THE INDIVIDUAL PARAMETERS USED IN THIS WORK (WINDOW SIZE = 5 SEC) Training set (%) Testing set (%) Parameter ACC SE P AUC ACC SE P AUC QP int. var. 99.4 99.3 99.4 99.82 99.1 96 99.8 99.3 SP int. var. 99.66 99.7 97.8 99.7 99.3 95.4 99.5 99.5 RT int. var. 98.84 97.5 97.8 99.5 98.26 95.3 99.6 99.64 TR int. var. 97.16 97.2 97.7 99.8 97.1 93.1 98.9 99.06 PQ int. var. 96.78 96.8 96 99.09 96.9 93.9 98.8 99.01 PS int. var. 96.24 95.5 95.22 99.004 96.4 95.5 98.9 99.01 int. ≡ interval, var. ≡ variability

Table VII lists the performance of the ECG parameter combinations using a five second window length. Note that the maximum accuracy obtained by training and testing was the fifth combination. As such, combining information from all six ECG parameters provides the most robust detection system for cardiac arrhythmia and/or other cardiac failure signals.

TABLE VII PERFORMANCE OF THE PARAMETER COMBINATIONS USED IN THIS WORK (WINDOW SIZE = 5 SEC) Combination Training set (%) Testing set (%) number Combination parameters ACC SE P AUC ACC SE P AUC #1 QP, SP interval variability 98.89 98.1 96.2 99.81 98.95 96.1 99.36 99.88 #2 QP, SP, RT interval variability 99.01 99.2 98.4 99.909 99.071 96.4 99.2 99.901 #3 QP, SP, RT, TR interval variability 97.21 98.3 95.2 99.7 97.1 95.2 98.3 99.67 #4 QP, SP, RT, TR, PQ interval variability 99.13 97.1 98.24 99.9 99.3 98.9 99.44 99.05 #5 QP, SP, RT, TR, PQ, PS interval variability 98.98 98.9 98.99 99.96 99.1 97.5 99.4 99.95 Section 5.4. Validation Results

The performance of the LDA classifier was analyzed using each combination independently. Different K-fold cross validations were investigated using the study data set repeated 10 times for each procedure. A sample average performance of fivefold, sevenfold and tenfold cross validations are shown below in Tables VIII, IX, and X respectively.

TABLE VIII FIVEFOLD VALIDATION RESULTS OF THE PARAMETER COMBINATIONS (WINDOW SIZE = 5 SEC) Combination Combination Validation set (%) number parameters ACC SE P AUC #1 QP, SP interval variability 98.3 98.51 97.42 99.86 #2 QP, SP, RT 98.37 98.601 98.1 99.89 interval variability #3 QP, SP, RT, TR 98.16 98.5 98.84 99.84 interval variability #4 QP, SP, RT, TR, PQ 98.8 98.74 98.54 99.90 interval variability #5 QP, SP, RT, TR, PQ, 99.02 98.92 98.41 99.96 PS interval variability

TABLE IX SEVENFOLD VALIDATION RESULTS OF THE PARAMETER COMBINATIONS (WINDOW SIZE = 5 SEC) Combination Combination Validation set (%) number parameters ACC SE P AUC #1 QP, SP interval variability 98.42 98.55 97.42 99.86 #2 QP, SP, RT 98.45 98.65 98.13 99.89 interval variability #3 QP, SP, RT, TR 98.26 98.59 98.84 99.85 interval variability #4 QP, SP, RT, TR, PQ 98.83 98.80 98.60 99.91 interval variability #5 QP, SP, RT, TR, PQ, 99.08 98.94 98.44 99.96 PS interval variability

TABLE X SEVENFOLD VALIDATION RESULTS OF THE PARAMETER COMBINATIONS (WINDOW SIZE = 5 SEC) Combination Combination Validation set (%) number parameters ACC SE P AUC #1 QP, SP interval variability 98.50 98.54 97.38 99.87 #2 QP, SP, RT 98.47 98.61 98.18 99.89 interval variability #3 QP, SP, RT, TR 98.32 98.60 98.81 99.86 interval variability #4 QP, SP, RT, TR, PQ 98.88 98.81 98.63 99.91 interval variability #5 QP, SP, RT, TR, PQ, 99.1 98.95 98.39 99.97 PS interval variability

The most accurate sample performance is indicated by the fifth combination with any K-fold cross validation values. An ACC of 99.02%, an SC of 98.92%, and a P of 98.41% were obtained by the fivefold cross validation. By increasing the number of folds to seven, the ACC, the SE, and the P were improved by 0.06%, 0.02%, and 0.03%, respectively. The tenfold cross validation achieved the most accurate overall results with an ACC of 99.1%, an SE of 98.95%, and a P of 98.39%. The AUC values for most of the combinations with any K-fold cross validations were substantial as well.

FIGS. 10A through 10O are scatterplots for the ECG parameter pairs of the fifth combination using LDA for a tenfold cross validation. Note that the independency between most parameter pairs is substantial between GROUP A and GROUP B. The relatively strong delineation provided by LDA is graphically illustrated in FIGS. 10A through 10O considering the substantial separation between the GROUP A and the GROUP B parameter pairs.

SECTION 6. CONCLUSION

This disclosure provides the medical device 10 (FIG. 1), which is a new apparatus and detection method for determining a ventricular arrhythmia event. The medical device 10 combines a unique set of ECG parameters with the LDA algorithm. The six selected ECG parameters represent the status of two consecutive heartbeat signatures. To date, these six ECG parameters have not been used for ventricular arrhythmia detection. However, applicants of this disclosure discovered that each of these six new ECG parameters used by the medical device 10 provide unprecedented accuracy and efficiency for the detection of ventricular arrhythmia with a p-value that is less than 0.001.

While the QRS complex is detected using related art techniques, such as PAT, a new P and T delineation technique is used to accurately and independently identify T waves and P waves. The new technique updates P wave and T wave delineation with each heartbeat based upon previously detected P waves and T waves. This delineation is achieved in the time domain without the need for spectral or transformation analysis of the ECG signal, which reduces the overall complexity of the medical device 10.

Moreover, the six ECG parameters are novel and include: PQ interval variability, QP interval variabilty, RT interval variability, TR interval variability, PS interval variability, and SP interval variability. The six ECG parameters are morphological, which provides benefits that include less processing time and fewer computations compared to traditional methods used to monitor for ventricular arrhythmia. Based upon statistical ROC analysis, the six ECG parameters individually and in combinations result in robust and accurate ventricular arrhythmia detection.

A Fisher LDA classifier is used to separate ventricular arrhythmia and non-ventricular arrhythmia. Despite the relative simplicity of the Fisher LDA, the differentiation between ventricular arrhythmia and non-ventricular arrhythmia is relatively high in comparison to traditional techniques used to differentiate between ventricular arrhythmia and non-ventricular arrhythmia. This relatively strong performance is not attributable to the Fisher LDA, but is rather attributable to the relevance between the six ECG parameters and their correlation to differences between ventricular arrhythmia and non-ventricular arrhythmia.

Those skilled in the art will recognize improvements and modifications to the embodiments of the present disclosure. All such improvements and modifications are considered within the scope of the concepts disclosed herein and the claims that follow. 

What is claimed is:
 1. A method for a medical device for detecting a ventricular arrhythmia event comprising: receiving an electrocardiogram (ECG) signal by way of input circuitry; identifying a first P onset, a first Q onset, and a first S offset within a first heartbeat signal, a second P onset, a second Q onset, and a second S offset within a second heartbeat signal, and a third P onset, a third Q onset, and a third S offset within a third heartbeat signal of the ECG signal by way of processing circuitry coupled to the input circuitry, wherein the first heartbeat signal, the second heartbeat signal, and the third heartbeat signal are generated from three consecutive heartbeats; determining QP interval variability from the first Q onset, the second P onset, the second Q onset, and the third P onset and SP interval variability from the first S offset, the second P onset, the second S offset, and the third P onset by way of feature extraction circuitry coupled to the processing circuitry; and detecting a ventricular arrhythmia based on the QP interval variability and the SP interval variability by way of machine learning circuitry coupled to the feature extraction circuitry.
 2. The method for the medical device of claim 1 wherein: identifying further comprises identifying a first R peak and a first T onset within the first heartbeat signal and a second R peak and a second T onset within the second heartbeat signal by way of the processing circuitry; determining further comprises determining RT interval variability from the first R peak, the first T onset, the second R peak, and the second T onset by way of the feature extraction circuitry; and detecting further comprises detecting ventricular arrhythmia based upon the QP interval variability, the SP interval variability, and the RT interval variability by way of the machine learning circuitry.
 3. The method for the medical device of claim 1 wherein: identifying further comprises identifying a first R peak and a first T onset within the first heartbeat signal, a second R peak and a second T onset within the second heartbeat signal, and a third R peak and a third T onset within the third heartbeat signal by way of the processing circuitry; determining further comprises determining RT interval variability from the first R peak, the first T onset, the second R peak, and the second T onset and determining TR interval variability from the first T onset, the second R peak, the second T onset, and the third R peak by way of the feature extraction circuitry; and detecting further comprises detecting ventricular arrhythmia based upon the QP interval variability, the SP interval variability, the RT interval variability, and the TR interval variability by way of the machine learning circuitry.
 4. The method for the medical device of claim 1 wherein: identifying further comprises identifying a first R peak and a first T onset within the first heartbeat signal, a second R peak and a second T onset within the second heartbeat signal, and a third R peak and a third T onset within the third heartbeat signal by way of the processing circuitry; determining further comprises determining RT interval variability from the first R peak, the first T onset, the second R peak, and the second T onset, determining TR interval variability from the first T onset, the second R peak, the second T onset, and the third R peak, and determining PQ interval variability from the first P onset, the first Q onset, the second P onset, and the second Q onset by way of the feature extraction circuitry; and detecting further comprises detecting ventricular arrhythmia based upon the QP interval variability, the SP interval variability, the RT interval variability, the TR interval variability, and the PQ interval variability by way of the machine learning circuitry.
 5. The method for the medical device of claim 1 wherein: identifying further comprises identifying a first R peak and a first T onset within the first heartbeat signal, a second R peak and a second T onset within the second heartbeat signal, and a third R peak and a third T onset within the third heartbeat signal by way of the processing circuitry; determining further comprises determining RT interval variability from the first R peak, the first T onset, the second R peak, and the second T onset, determining TR interval variability from the first T onset, the second R peak, the second T onset, and the third R peak, determining PQ interval variability from the first P onset, the first Q onset, the second P onset, and the second Q onset, and determining PS interval variability from the first P onset, the first S offset, the second P onset, and the second S offset by way of the feature extraction circuitry; and detecting further comprises detecting ventricular arrhythmia based upon the QP interval variability, the SP interval variability, the RT interval variability, the TR interval variability, the PQ interval variability, and the PS interval variability by way of the machine learning circuitry.
 6. A medical device for detecting a ventricular arrhythmia event comprising: input circuitry configured to receive an electrocardiogram (ECG) signal; processing circuitry coupled to the input circuitry and configured to identify a first P onset, a first Q onset, and a first S offset within a first heartbeat signal, a second P onset, a second Q onset, and a second S offset within a second heartbeat signal, and a third P onset, a third Q onset, and a third S offset within a third heartbeat signal of the ECG signal, wherein the first heartbeat signal, the second heartbeat signal, and the third heartbeat signal are generated from three consecutive heartbeats; feature extraction circuitry coupled to the processing circuitry and configured to determine QP interval variability from the first Q onset, the second P onset, the second Q onset and the third P onset and SP interval variability from the first S offset, the second P onset, the second S offset, and the third P onset; and machine learning circuitry coupled to the feature extraction circuitry and configured to detect ventricular arrhythmia based on the QP interval variability and the SP interval variability.
 7. The medical device of claim 6 wherein: the processing circuitry is further configured to identify a first R peak and a first T onset within the first heartbeat signal and identify a second R peak and a second T onset within the second heartbeat signal; the feature extraction circuitry is further configured to determine RT interval variability from the first R peak, the first T onset, the second R peak and the second T onset; and the machine learning circuitry is further configured to detect ventricular arrhythmia based upon the QP interval variability, the SP interval variability, and the RT interval variability.
 8. The medical device of claim 6 wherein: the processing circuitry is further configured to identify a first R peak and a first T onset within the first heartbeat signal, identify a second R peak and a second T onset within the second heartbeat signal, and identify a third R peak and third T onset within the third heartbeat signal; the feature extraction circuitry is further configured to determine RT interval variability from the first R peak, the first T onset, the second R peak, and the second T onset, and determine TR interval variability from the first T onset, the second R peak, the second T onset, and the third R peak; and the machine learning circuitry is further configured to detect ventricular arrhythmia based upon the QP interval variability, the SP interval variability, the RT interval variability, and the TR interval variability.
 9. The medical device of claim 6 wherein: the processing circuitry is further configured to identify a first R peak and a first T onset within the first heartbeat signal, identify a second R peak and a second T onset within the second heartbeat signal, and identify a third R peak and third T onset within the third heartbeat signal; the feature extraction circuitry is further configured to determine RT interval variability from the first R peak, the first T onset, the second R peak, and the second T onset, determine TR interval variability from the first T onset, the second R peak, the second T onset, and the third R peak, and determine PQ interval variability from the first P onset, the first Q onset, the second P onset, and the second Q onset; and the machine learning circuitry is further configured to detect ventricular arrhythmia based upon the QP interval variability, the SP interval variability, the RT interval variability, the TR interval variability, and the PQ interval variability.
 10. The medical device of claim 6 wherein: the processing circuitry is further configured to identify a first R peak and a first T onset within the first heartbeat signal, identify a second R peak and a second T onset within the second heartbeat signal, and identify a third R peak and third T onset within the third heartbeat signal; the feature extraction circuitry is further configured to determine RT interval variability from the first R peak, the first T onset, the second R peak, and the second T onset, determine TR interval variability from the first T onset, the second R peak, the second T onset, and the third R peak, determine PQ interval variability from the first P onset, the first Q onset, the second P onset, and the second Q onset, and determine PS interval variability from the first P onset, the first S offset, the second P onset, and the second S offset; and the machine learning circuitry is further configured to detect ventricular arrhythmia based upon the QP interval variability, the SP interval variability, the RT interval variability, the TR interval variability, the PQ interval variability, and the PS interval variability. 